package com.yixin.hospital.entity.dto.req.job;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("新增职业请求体")
@Data
public class JobAddReqDTO {

    @ApiModelProperty("职业名称")
    @NotBlank(message = "职业名称不能为空")
    private String name;
}
